package com.minimoment.model.domain;

import java.io.Serializable;
import java.util.Date;
import java.util.HashSet;
import java.util.Set;

/**
 * Created by etund on 2014/10/28.
 */
public class Screenings implements Serializable {
    private Long id;
    private Float unitPrice;
    private Movie movie;
    private Theater theater;
    private Date time;
    private Set<PuschaseHistory> histories = new HashSet<PuschaseHistory>();


    public Date getTime() {
        return time;
    }

    public void setTime(Date time) {
        this.time = time;
    }

    public Movie getMovie() {
        return movie;
    }

    public void setMovie(Movie movie) {
        this.movie = movie;
    }

    public Theater getTheater() {
        return theater;
    }

    public void setTheater(Theater theater) {
        this.theater = theater;
    }

    public Set<PuschaseHistory> getHistories() {
        return histories;
    }

    public void setHistories(Set<PuschaseHistory> histories) {
        this.histories = histories;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Float getUnitPrice() {
        return unitPrice;
    }

    public void setUnitPrice(Float unitPrice) {
        this.unitPrice = unitPrice;
    }
}
